package com.weng.platform.article.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.weng.framework.dao.mybatis.mapper.BaseMapper;
import com.weng.platform.article.entity.ArticleInfo;
import com.weng.platform.article.model.request.ArticleInfoReq;
import com.weng.platform.article.model.vo.ArticleInfoDetailVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 新闻资讯基本信息表 Mapper 接口
 *
 * @author wenghui
 * @date 2019-11-30 10:48:30
 *
 */ 
@Mapper
@Repository
public interface ArticleInfoMapper extends BaseMapper<ArticleInfo> {

    List<ArticleInfoDetailVo> getNewsListPage(IPage<ArticleInfoDetailVo> page, @Param("paramData") ArticleInfoReq paramData);
}
